Skip to main content

googleSignInResponse

Type​

message

Summary​

Sent to the caller when the Google Sign-In attempt is complete.

Syntax​

googleSignInResponse <pSuccess>

Description​

Use the googleSignInResponse message to trigger any code that should occur once the user is signed in, for example updating the UI to display the user's name. The googleSignInResponse message always results from a sign-in attempt using googleSignIn.

Parameters​

NameTypeDescription

pSuccess

Whether the sign-in attempt was successful or not.

Examples​

on googleSignInResponse pSuccess
if pSuccess then
answer \
format( \
"Thank you for signing in, %s", \
googleGetSignInDisplayName())
end if
end googleSignInResponse

handler: googleSignIn

Compatibility and Support​

OS

android